<template name="footer">
  {{#if footerCode}}
    <div class="footer grid {{footerClass}}">
      {{#markdown}}{{footerCode}}{{/markdown}}
    </div>
  {{/if}}
  {{#each footerModules}}
    {{> UI.dynamic template=getTemplate}}
  {{/each}}
</template>